import { _decorator, Component, Node } from 'cc';
const { ccclass, property } = _decorator;

@ccclass('constant')

export class constant {
    //敌人类型
    public static Enemytype = {
        TYPE1: 1,
        TYPE2: 2.
    };
    //出现的组合方式
    public static Combination = {
        PLAN1: 1,
        PLAN2: 2,
        PLAN3: 3,
    };
    //碰撞类型
    public static CollisionType = {
        PLANE: 1 << 1,
        ENEMY: 1 << 2,
        PLAYER_BULLET: 1 << 3,
        ENEMY_BULLET: 1 << 4,
        BULLET_PROP: 1 << 5,
        BOSS:1<<6,
        BOSSMISSILE:1<<7
    };
    //道具类型
    public static BulletType = {
        BULLET_H: 1,
        BULLET_M: 2,
        BULLET_S: 3,

    };
    //方向
    public static Direction = {
        LEFT: 1,
        MID: 2,
        RIGHT: 3,

    };
}

